#include <iostream>
#include <stdio.h>
#include <sys/types.h>

class Student
{
public:
    double score[10];
    Student(int n)
    {
        score[n] = 0;
    };
    ~Student();
    double &operator[](int index);
    double operator[](int index) const;

private:
    int size;
    double *p;
};
